Previous Book Contents Book Index Next

Inside Macintosh: 3D Graphics Programming With QuickDraw 3D /
Chapter 11 - Renderer Objects / Renderer Objects Reference
Constants


CSG Object IDs

QuickDraw 3D provides constants that you can use to specify an ID for a CSG object. You assign a CSG object ID to an object by including an attribute of type kQ3AttributeType_ConstructiveSolidGeometryID in the object's attribute set. Currently, QuickDraw 3D supports up to five CSG objects per model.

#define kQ3SolidGeometryObjA           0
#define kQ3SolidGeometryObjB           1
#define kQ3SolidGeometryObjC           2
#define kQ3SolidGeometryObjD           3
#define kQ3SolidGeometryObjE           4
Constant descriptions

kQ3SolidGeometryObjA
The CSG object A.
kQ3SolidGeometryObjB
The CSG object B.
kQ3SolidGeometryObjC
The CSG object C.
kQ3SolidGeometryObjD
The CSG object D.
kQ3SolidGeometryObjE
The CSG object E.

Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996